matched front to rear rolling diameter (ie. height) wise, the 245/40-18 is a closer match to 275/35-18. Likewise, 245/35-18 is closer to 285/30-18.
(The latter pair of sizes is the closest setup to our stock 225/50-16 & 245/45-16 oem arrangement in terms of rolling diameter, if that matters to you.)